package com.im.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.im.project.entity.ChatMessage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 会话消息
 *
 * @author yunZhouJiaDi
 */
public interface ChatMessageMapper extends BaseMapper<ChatMessage> {

    List<ChatMessage> queryChatMessageList(@Param("lastOffTime") Long lastOffTime, @Param("contactIdList") List<String> contactIdList);

}
